How to set fragment flag on/off

this is work related, I have to be able to set the IP datagram so that it conforms to RFC1191 (PMTU) with fragment flag on/off. Is this is possible to do with java? I've noticed that I was only able to set the traffic but not fragment.

I have to be able to set the IP datagram so that it conforms to RFC1191 (PMTU) with fragment flag on/off. No you don't. The DF flag can't be set from Java or even from C. It is set, or not set, by the TCP stack. Nothing you can do about it. TCP also controls the PMTU, nothing you can do about that either, except enable path MTU discovery in your OS configuration (e.g. Registry settings). But it should already be set. Anyway either your TCP/IP stack implements RFC1191 or it doesn't. I'd be amazed if it didn't at this late stage. Nothing you can do about it from Java.

Similar Messages

  • HOW TO SET DELETION FLAG TO SERVICE ENTRY SHEET ?

    Dear Experts,
    Can anybody explain how to set deletion flag to Service entry sheet created ?
    Service Entry sheet has been accepted and saved, i want to set deletion flag to the Service Entry sheet.
    Thanks in Advance

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • How to set acknowledgement flag in asynchronous message

    Hello,
    I just read in the documenation that it is possible to request acknowlegment messages by setting an "acknowledgement tag" in the request message.
    My question now is how to set this acknowledgement tag and which rules I have to follow? Do you have any more information on this topic? I see the flags in "ReliableMessaging" but not sure how to set them.
    Thank you.
    Edited by: Florian Guppenberger on Dec 2, 2009 5:16 PM

    Hi,
    For idoc check this links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    I don't think it is possible for Proxy.
    Regards
    Ramesh

  • How to set a flag

    How can I set a flag?
    I tried to connect a boolean (true) to a local variable, but it didn't work since the local variable had a question mark in it!
    Is there a better method to set a flag?
    Many Thaanks

    They also use extra memory which can also dramatically slow down your app and they break dataflow with the risk of race conditions. Programs with a lot of locals are much harder to debug - trust me on this. Shift registers can be very tidy if done right and don't cause the problems that locals do. The "LabVIEW Development Guidelines" document that ships with LabVIEW has a section on locals/globals and a reference to functional global variables which can be used to replace a standard global variable but nothing in LabVIEW is as effecient as a wire.

  • How to set deletion flag in Production order item level

    Hi Friends,
    I have a requirement like...
    Suppose production order conatians 100 items. now i want to set deletion flag for 20 items only.
    In Co02 t.code deletion check box is disable mode.
    There are nearly 100 production orders .i have to write the program....
    Is there any BAPI or other way to meet this requirement.
    Can you please help me..

    Also, You might want to have a look at the BAPIs like BAPI_PRODORD_SET_DELETION_FLAG which are used to set the deletion indicator but it appears to me the deletion flag can only be set at the header level using these BAPIs.
    Please have a look at SAP business object BUS2005 methods from transaction SW01 for more Production Order related BAPIs.
    One more thing ... since you mentioned that in CO02 the deletion indicator is greyed out, then it might mean you are missing the authorizations to set the deletion flag. Please consult with your Authorization (BASIS) administrator. As a hint, the authorization object here is C_AFKO_AWK.
    Cheers,
    Aditya

  • How to set configuration flag

    Could someone help me ?
    How do you set the cfg flags with Forte ?
    Is it a command line option ?
    Thanks

    C:\forte\30M0\install\bin\ftexec.exe -fi
    bt:c:\forte\30M0\userapp\forte\cl0\forte -fm (x:64000) -fns
    NodeName:5001 -fr ReposName -fl "!stdout(cfg:c4:13:1)"
    Above is an example for starting a forte application with logger flags being sent to StdOut. You can send them to file by specifying a filename instead of !stdout.
    Hope this helps,
    Allister Dickson
    Technical Architect
    Xpedior Australia

  • How to set the flag of the mail when I read it for POP3

    HI,
    All
    I know that POP3 does not support the flags. As per my knowledge the only flag POP3 supports is the DELETED. if i am not wrong.
    Now what i have to do is when i fetch the mails programmatically and once i read that I want to mark that mail as read in the yahoo also. means when i reterieve the mails through my client from the yahoo mail and next time when I Open the yahoo account the mail that i have retrieve must be seen as read rather than unread.
    Yahoo uses the POP3 Server for the incoming mails the same thing also happens with outlook you can find that outlook also uses POP3 as the incoming mail server and when we reterieve the mails from the yahoo using the outlook by some way Outlook marks the mails on the yahoo server as read the same thing I have to do for my client Program using the POP3 server.
    If Outlook does it dispite of the POP3 server there must be some way to do the same thing for the POP3 server using the Java Mail Api.I dont know how to do that thing and mark the mails as read once I fetch them.
    Any Help is appriciated,
    Rahul.

    I have tried to access the content of the message using the my program to fetch the mail but still Yahoo does not mark it as the read in its web interface.
    so I want to know how to do that. and also want to know that when you are doing same thing for the outlook then it mark it as a read on the Yahoo web mail interface so I want to know how do they do it means how Outlook mark it as a read mail on the yahoo server despite of the POP3 server.
    If anybody knows how outlook does that than we can do same using the Java mail Api.
    Regards,
    Rahul

  • How to set model flag to JasperViewer

    Hi all,
    I did Jasper Report Successfully but only problem is while viewing it doesnot go in model. It allows to play with application. How can I set Model to Jasper so that my application will lock until jasperviewer is closed.
    anybody know pls help me.
    --Harish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • How to set user flag for a local windows user account.

    In my C# client I am getting the directory entry of the user in the following way :
    DirectoryEntry userDE = new DirectoryEntry("WinNT://machinename/User12", "MachineName\\Administrator", "Password");
    I want to add a userflag to this user.
    I tried the following :
    userDE.Properties["UserFlags"].Add(65536);
    But the issue is that it is updating the user with new user flag instead of adding it to the userflag.(for example the user already had the flag 'User cannot change Password' and i tried adding 'Password never Expires'.But after the operation the user only
    had the flag 'Password Never Expires')

    chek these link, does it help you
    http://support.microsoft.com/kb/305144/en-us

  • How the method to set the JAVa logo off in JInternalframe?

    any 1 know? how to set the java logo off? using wat method?

    You could try setFrameIcon(null). However the javaDoc warns that the look and feel may display a default one anyway. If that doesn't work you could try changing the default in the UIDefaults with the key InternalFrame.icon
    It contains an instance of javax.swing.plaf.metal.MetalIconFactory$InternalFrameDefaultMenuIcon@6a5671 when I'm running showing the metal look and feel.
    I haven't tried this and I'm making the assumption that this is the correct icon.
    Col

  • How to Set up HTTPOnly and SECURE FLAG for session cookies

    Hi All,
    To fix some vulnerability issues (found in the ethical hacking , penetration testing) I need to set up the session cookies (CFID , CFTOKEN , JSESSIONID) with "HTTPOnly" (so not to access by other non HTTP APIs like Javascript). Also I need to set up a "secure flag" for those session cookies.
    I have found the below solutions.
    For setting up the HTTPOnly for the session cookies.
    1] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables
         this.sessioncookie.httponly = true;
    For setting up the secure flag for the session cookies.
    2] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables
         this.sessioncookie.secure = "true"
    Here my question is how we can do the same thing in Application.cfm?. (I am using ColdFusion version 10). I know we can do this using the below code , incase of HTTPOnly (for example).
    <cfapplication setclientcookies="false" sessionmanagement="true" name="test">
    <cfif NOT IsDefined("cookie.cfid") OR NOT IsDefined("cookie.cftoken") OR cookie.cftoken IS NOT session.CFToken>
      <cfheader name="Set-Cookie" value="CFID=#session.CFID#;path=/;HTTPOnly">
      <cfheader name="Set-Cookie" value="CFTOKEN=#session.CFTOKEN#;path=/;HTTPOnly">
    </cfif>
    But in the above code "setclientcookies" has been set to "false". In my application (it is an existing application) this has already been set to "true". If I change this to "false" as mentioned in the above code then ColdFusion will not automatically send CFID and CFTOKEN cookies to client browser and we need to manually code CFID and CFTOKEN on the URL for every page that uses Session. Right???. And this will be headache.Right???. Or any other way to do this.
    Your timely help is well appreciated.
    Thanks in advance.

    BKBK wrote:
    Abdul L Koyappayil wrote:
    BKBK wrote:
    You can switch httponly / secure on and off, as we have done, for CFID and CFToken. However, Tomcat automatically switches JsessionID to 'secure' when it detects that the protocol is secure, that is, HTTPS.
    I couldnt understand this. I mean how are you relating this with my question.
    When Tomcat detects that the communication protocol is secure (that is, HTTPS), it automatically switches on the 'secure' flag for the J2EE session cookie, JsessionID. Tomcat is configured to do that. Coldfusion has no say in it. So, for JsessionID, 'secure' is automatically set to 'false' when HTTP is detected and automatically set to 'true' when HTTPS is detected.
         If this is the case then why I am getting below info for jsessionid (As you mentioned it should set with SECURE flag . Right???). Note that we are using web server - Apache vFabric .And the application that we are using is in https and there is no hit is going from https to http.
    Name:
    JSESSIONID
    Content:
    782BF97F50AEC00B1EBBF1C2DBBBB92F.xyz
    Domain:
    xyz.abc.pqr.com
    Path:
    Send for:
    Any kind of connection
    Accessible to script:
    No (HttpOnly)
    Created:
    Wednesday, September 3, 2014 2:25:10 AM
    Expires:
    When the browsing session ends
    BKBK wrote:
    2]When I checked CF Admin->Server Settings->Memory Variables I found that J2EE SESSION has been set to YES. So does this mean that do we need to set HTTPOnly and SECURE flag for JSESSIONID only or for CF session cookies (CFID AND CFTOKEN ) as well ?.
    Set HTTPOnly / Secure for the session cookies that you wish to use. Each cookie has its pros and cons. For example, the JsessionID cookie is more secure and more Java-interoperable than CFID/CFToken but, from the explanation above, it forbids the sharing of sessions between HTTP and HTTPS.
         I understood that setting thos flags (httponly/secure) is as per my wish. But my question was , is it necessary to set those flags forcf session cookies (cfid and cftoken) as we have enabled J2EE session in CF admin?. Or in other way as the session management is J2EE based do we need to set those flags for CF session cookies?.
    BKBK wrote:
    3]If I need to set HTTPOnly and SECURE flag for JSESSIONID , how can I do that.
    It is sufficient to set the HTTPOnly only. As I explained above, Tomcat will automatically set 'secure' to 'true' when necessary, that is, when the protocol is HTTPS.
         I understood that it is sufficient to set httponly only.but how we will set it for jsessionid?. This is my question. Apache vFabric will alos set secure to true automatically. Any idea??

  • How to set Lion built-in FTP Server auto run off

    Hello all.
    I set FTP Server by using Rumpus Server application.
    But Lion's built-in FTP Server is running on the front.
    So if I try to connect my FTP Server out of my LAN, I can only connect to the built-in FTP Server despite I wanted to connect Rumpus FTP Server.
    It can be solved by unload the built-in FTP Server(using sudo -s launchctl unload...) but every after rebooting I should set it because it is set to run automatically in every booting.
    How can I set the auto run off?

    well, the ftp server (=ftpd) takes account info from the user list for your mac. so, go to the system settings on your mac, then to users, and then just add another user with a password of your choice (tap on the little plus-sign to add a user!). this will then be a valid user for your ftp server after you restart your ftp server.
    the other thing you want to do, about the home directory, is called chroot. you can set the home directory of a specific ftp-user to be another directory then the standard. for this, there are configuration directives in the configuration file in /private/etc/ftpd.conf which you have to edit by hand. so make sure what you do there.
    you should read this before editing the file, this will give you a better understanding of what to put there: https://developer.apple.com/library/mac/documentation/darwin/reference/manpages/ man8/tnftpd.8.html

  • How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL

    How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL.  SSMS will not allow me to change policies to OFF. Error: 15128 - The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is
    on.  I am attempting to change these options in a test environment. Thanks, Richard

    It appears you have to change the password first(it could the same password but an alter command needs to be done)
    check this : http://www.sqldbadiaries.com/2010/11/07/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on/
    http://sqldbpool.com/2012/10/08/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on-microsoft-sql-server-error-15128/
    Hope it Helps!!

  • How to set oracle archive parameter to off

    Hi All,
                can anyone let me know how to set oracle parameter off.And are thier any prerequisites that needs to be taken care.
    Thanks in advance for the help,
    Regards,
    Raj

    Hi,
    >
    >                   Do i need to shut down database as well as sap instance for seeting to noarchive log mode.
    Yes. In order to put database in noarchive log mode, first stop your sap system.
    Then go to oracle->
    login as ora<sid>
    sqlplus "/as sysdba"
    startup mount;
    alter database noarchivelog;
    alter database open;
    Then start SAP and by this way archive log is off;
    You can also verify that whether your databse is in archive log mode or noarchive log mode by below command:
    select log_mode from v$database;
    >Please let me know how i should proceed and that insatnce offline back up was taken in feb so before doing this i need to take >offline backup.so how should i proceed
    Before stopping archive log mode, you must have offline database backup.
    Is there any reason why you want to off archive log as SAP always recommends that because then only you can do point in time recovery if something wrong happen to your database.
    Thanks
    Sunny

  • How to mass set deletion flag for the production order

    Hi Expert,
      do you know which transcation code or program is used to mass set the deletion flag for production order?
    thank you in advance!

    Hi,
    http://www.sap-img.com/production/how-to-delete-old-production-orders.htm
    Note that CO78 is the start of the Archive process.  We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
    Decide the range of orders you want to delete.  This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved. 
    Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set. 
    First of all, create the variant via SE38 for PPARCHP1. 
    Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes.  Also here you can flag order number, order type and plant to be required fields. 
    Run CO78
    Press the first button - deletion flag/deletion indicator.
    Choose the variant you have just created.  Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
    Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
    Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
    Press Execute and job can be tracked via SM37.
    Details of deleted orders and errors will appear in the Spool.
    Rerun as many times as you need with relevant order ranges till all required orders are deleted.
    Hope this will resolve your issue.
    Regards,
    Naveen.

Maybe you are looking for

  • Time machine not adding to existing backups.

    I have a Late 2013 MBP. i7,16GB RAM and 500GB HD.My Time Machine is a WD My Passport 2GB partitioned into to two 1GB partitions. Time Machine had 472GB used of 1GB in backups. I was having issues with apps (Ableton Live 9, Serato, MS Word, and severa

  • Updater is annoying!!!!!

    Could someone at Adobe take the time to make Updater a little less intrusive! I open PS to edit and image and I get that stupid bouncing icon in my dock that will NOT go away until I do something with it, then, during the update process, it interrupt

  • Screen savers

    "Tiger" had a lovely Beach slide show that's not present in Mtn Lion.  The two OS versions store Screen Saver pieces in different places.  I found what appears to be a single file in Tiger for "Beach" slide show & stored it in the Mtn Lion system (in

  • Oracle 10g and Datawarehousing

    Hi, I have come across a concept of real-time datawarehousing and learnt that there is a feature in Oracle 10g database which supports it.What are those features of Oracle 10g which support the real-time datawarehousing? Thanks

  • Add personal email addresses to phone

    My Blackberry 8530 recently died...I received my replacement.  When trying to set up my gmail emails to my phone I cannot find the option.  I only have the option for a work email with a server.  How can I set up my personal email? Thanks, Elisabeth